<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<title>Administration Hapadvisor</title>
	
	<link rel="stylesheet" type="text/css" href="./css/admin_login/style.css" />
</head>

<body>

    <form id="login-form" action="./verify.php" method="post">
        <center style="font-weight:bold;color:red"><? if(isset($error) && $error==1) echo "Incorrect !!"?></center>
		<fieldset>
		
			<legend>Log in</legend>
			
			<label for="login">Username</label>
			<input type="text" id="login" name="user"/>
			<div class="clear"></div>
			
			<label for="password">Password</label>
			<input type="password" id="password" name="password"/>
			<div class="clear"></div>
			
            
			<!--<label for="remember_me" style="padding: 0;">Remember me?</label>
			<input type="checkbox" id="remember_me" style="position: relative; top: 3px; margin: 0; " name="remember_me"/>-->
			<div class="clear"></div>
			
			<br />
			
			<input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Log in"/>	
		</fieldset>
	</form>
	
</body>
</html>
<script type="text/javascript">
	window.onload = function(){
		var err = '<?=$_GET['err']?>';
		if(err == "1"){
			alert("Username or password was wrong. Please try again.");	
		}
	};
</script>